package com.pattern.create.abstractFactory.four.factory.impl;

import com.pattern.create.abstractFactory.four.button.Button;
import com.pattern.create.abstractFactory.four.button.impl.SpringButton;
import com.pattern.create.abstractFactory.four.comboBox.ComboBox;
import com.pattern.create.abstractFactory.four.comboBox.impl.SpringComboBox;
import com.pattern.create.abstractFactory.four.factory.SkinFactory;
import com.pattern.create.abstractFactory.four.textField.TextField;
import com.pattern.create.abstractFactory.four.textField.impl.SpringTextField;

/**   
*    
* 项目名称：designPattern   
* 类名称：SpringSkinFactory   
* 类描述：Spring皮肤工厂：具体工厂
* 创建人：jzhang  
* 创建时间：2018年4月24日 下午2:35:40   
* 联系方式：1104975916@qq.com 
*      
*/
public class SpringSkinFactory implements SkinFactory {  
    public Button createButton() {  
        return new SpringButton();  
    }  
  
    public TextField createTextField() {  
        return new SpringTextField();  
    }  
  
    public ComboBox createComboBox() {  
        return new SpringComboBox();  
    }  
}